package com.wlw.admin.openeye.mvp.model

import com.wlw.admin.openeye.mvp.model.bean.TabInfoBean
import com.wlw.admin.openeye.net.RetrofitManager
import com.wlw.admin.openeye.rx.scheduler.SchedulerUtils
import io.reactivex.Observable

class HotTabModel{
    fun getTabInfo():Observable<TabInfoBean>{
        return RetrofitManager.service.getRankList().compose(SchedulerUtils.ioToMain())
    }
}